home *** CD-ROM | disk | FTP | other *** search
/ Champak 139 / (Vol 139) Sep 24 2011.iso / Games / kirby.swf / scripts / frame_11 / PlaceObject2_166_24 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2011-09-24  |  239b  |  11 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.Clouds._currentframe >= _root.Clouds._totalframes - 2)
  3.    {
  4.       this._y = Math.floor(this._y / 5);
  5.       if(0 >= this._y)
  6.       {
  7.          _root.gotoAndStop(_root.Gameframe);
  8.       }
  9.    }
  10. }
  11.